﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalleryCommon;

namespace GalleryLogic
{
    public class AlbumLogic
    {
        public static bool AddNewAlbum(string Name, long OwnerID)
        {
            GalleryDataProvider.AlbumDataProvider.CreateAlbum(Name, OwnerID);
            return true;
        }
        public static bool ProvideAlbums(long ownerId, out List<Album> albums)
        {
            GalleryDataProvider.AlbumDataProvider.GetAlbums(ownerId, out albums);
            return true;
        }

    }
}
